﻿using SmartPlant.Core;
using SmartPlant.Core.Mvvm;
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.Docking;

namespace SmartPlant.Modules.Base.Views
{
    /// <summary>
    /// IndexTableImport.xaml 的交互逻辑
    /// </summary>
    public partial class IndexTableImport : RadDocumentPane, IPaneModel, ICanClosedDocumentView
    {
        public IndexTableImport()
        {
            InitializeComponent();
            radSpreadsheet.MessageShowing += RadSpreadsheet_MessageShowing;
        }

        private void RadSpreadsheet_MessageShowing(object sender, Telerik.Windows.Controls.Spreadsheet.MessageShowingEventArgs e)
        {
            e.IsHandled = true;
        }

        public DockState Position => DockState.DockedLeft;
    }
}
